package com.hp.Model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.Date;

@Data @NoArgsConstructor
@AllArgsConstructor
@Builder
public class AssignmentSubmission {
    private Long id;
    private Long assignmentId;         // FK -> assignment.id
    private Long studentId;            // FK -> user.id
    private String contentText;        // TEXT
    private String fileUrl;            // 可空
    private Date submittedAt;
    private Date updatedAt;
    /** DRAFT / SUBMITTED */
    private String status;
}
